<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<%@taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

   
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>New Codington</title>
<link type="text/css" rel="stylesheet" href="css/mystyle.css">
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?ver=1.4.2"></script>
    <script src="js/login.js"></script>
</head>
<body >

<%String error=(String)session.getAttribute("error_de conexion"); %>
<!--anotacion-->
	
	<!--  <div class="cabecera_imagen"></div>-->
 
 <div id="container"> <!--para centrar cuadro-->
   <!-- Login Starts Here -->
   <header>
   <nav>
   
  <ul class="">
  <li id="logo" ><img src="./images/logo2.jpg"></li>
   <li id="ref1"><a href="register.jsp">Create an account</a></li>

</ul>
</nav>
</header>

            <div id="loginContainer">
			
                <a href="#" id="loginButton"><span>Login</span><em></em></a>
                <div style="clear:both"></div>
                <div id="loginBox">                
                    <form id="loginForm" class="LoginServlets" action="LoginServlets" method="post">
                        <fieldset id="body">
                            <fieldset>
                           
                          
                                <label for="username">Username</label>
                                <input type="text" name="username" id="username" />
                            </fieldset>
                            <fieldset>
                                <label for="password">Password</label>
                                <input type="password" name="password" id="password" />
                            </fieldset>
                            <input type="submit" id="login" value="Sign in" />
                            <label for="checkbox"><input type="checkbox" id="checkbox" />Remember me</label>
                        </fieldset>
                        
                    </form>
                </div>
               
          </div>
    </div>
	
	<div class="cuadromessage">	
		<section class="div_borde"> 
		<table  id="mesj">
		<% String msg =(String) request.getAttribute("msg");
		 if(msg==null){ 
		}else{ %>
			<tr>
			 <td for="error"><%=msg %> </td>
			 
			</tr>
		<%} %>
				
		</table>	
		</section> 
	</div>
 
 

</body>
</html>

